#!/bin/bash

cd src/
javac -cp .:json_simple-1.1.jar ru/compscicenter/databases/zaikina/nodes/NodeMain.java 
for i in {0..27}
do
   java -cp .:json_simple-1.1.jar ru.compscicenter.databases.zaikina.nodes.NodeMain $i &
   echo "Node $i started"
done
cd ../
